package com.example.tool.entity;

import com.example.tool.ui.SwingViewWrapper;
import com.example.tool.window.HToolWindowPage;

import javax.swing.JPanel;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;

public class WindowEntity {
  private final SwingViewWrapper swingViewWrapper;
  private final HToolWindowPage hToolWindowPageOne;
  private final HToolWindowPage hToolWindowPageTwo;
  private final List<JPanel> jPanels;
  public final AtomicInteger step = new AtomicInteger(0);

  public WindowEntity(SwingViewWrapper swingViewWrapper, HToolWindowPage hToolWindowPageOne, HToolWindowPage hToolWindowPageTwo, List<JPanel> jPanels) {
    this.swingViewWrapper = swingViewWrapper;
    this.hToolWindowPageOne = hToolWindowPageOne;
    this.hToolWindowPageTwo = hToolWindowPageTwo;
    this.jPanels = jPanels;
  }

  public SwingViewWrapper getSwingViewWrapper() {
    return swingViewWrapper;
  }

  public HToolWindowPage getHToolWindowPageOne() {
    return hToolWindowPageOne;
  }

  public HToolWindowPage getHToolWindowPageTwo() {
    return hToolWindowPageTwo;
  }

  public List<JPanel> getJPanels() {
    return jPanels;
  }

  public AtomicInteger getStep() {
    return step;
  }
}
